package effdom.benchmark;

public class BenchmarkResult {
    
    private String format;
    private int fileSize;
    private int memoryRead;
    private int memoryWrite;
    private byte [] data;
    private long readTime;
    private long writeTime;
    
    public BenchmarkResult(String format) {
        super();
        this.format = format;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public int getFileSize() {
        return fileSize;
    }

    public void setFileSize(int fileSize) {
        this.fileSize = fileSize;
    }

    public int getMemoryRead() {
        return memoryRead;
    }

    public void setMemoryRead(int memoryRead) {
        this.memoryRead = memoryRead;
    }

    public int getMemoryWrite() {
        return memoryWrite;
    }

    public void setMemoryWrite(int memoryWrite) {
        this.memoryWrite = memoryWrite;
    }

    public long getReadTime() {
        return readTime;
    }

    public void setReadTime(long readTime) {
        this.readTime = readTime;
    }

    public long getWriteTime() {
        return writeTime;
    }

    public void setWriteTime(long writeTime) {
        this.writeTime = writeTime;
    }

    public String getFormat() {
        return format;
    }
    
    public String toString() {
        StringBuffer buf = new StringBuffer();
        buf.append(format);
        buf.append("\n");
        buf.append(fileSize);
        return buf.toString();
    }
    
}
